﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="usermanageList.ascx.cs" Inherits="uswinweb.datacontrol.usermanageList" %>
<table border="0" cellpadding="0" cellspacing="0" class="edtb">
	<thead>
		<tr>
        <td width="50px">&nbsp;</td>
			<td>用户名</td>
			<td>中文名</td>
            <td>英文名</td>
            <td>邮箱</td>
            <td>用户组</td>
            <td>所属公司</td>
            <td>状态</td>
            <td>建立时间</td>
            <td>操作</td>
		</tr>
	</thead>
	<tbody>
    <%foreach (System.Data.DataRow dr in userTab.Rows)
        { %>
        <tr>
        <td><input type="checkbox" name="ids" value="<%=dr["id"].ToString()%>"  id="ids"/></td>
			<td>&nbsp;<%=dr["lname"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["rname"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["ename"]%>&nbsp;</td>
            <td>&nbsp;<%=dr["email"]%>&nbsp;</td>
            <td><%=dr["gname"].ToString() == "" ? "&nbsp;" : dr["gname"].ToString()%></td>
            <td><%=dr["cname"].ToString() == "" ? "&nbsp;" : dr["cname"].ToString()%></td>
            <td><%=dr["status"].ToString()=="1"?"正常":"停用" %></td>
            <td><%=dr["createdate"].ToString()%></td>
			<td>
				<a href="../admin/usermanage_update.aspx?uid=<%=dr["id"] %>" rel="iframe" title=" :: :: width:600,height:400" class="l_blue lightview">修改</a>
				<a title="" class="l_blue" href="#" onclick="del('<%=dr["id"] %>')">删除</a>
			</td>
		</tr>
    <%} %>
	</tbody>
    <tfoot>
	    <tr>
		    <td colspan="15">
			    <%=pageList %>
		    </td>
	    </tr>
    </tfoot>
</table>